package team.fivez.defaultmanage.domain;

import lombok.Data;

import java.sql.Timestamp;

@Data
public class RedoApplication {

    private String applicationNumber;//申请单号（生成）

    private String severity;//违约严重性（低，中，高）

    private int approvementStatus;//审核状态（0：未审核；1：已同意；2：已驳回）

    private Timestamp applicationTime;//申请时间（java.sql.Timestamp）

    private Timestamp approvementTime;//审核时间

    private String applicantAccount;//申请人账号

    private String customerName;//客户名称

    private String redoApproverName;//重生审核人姓名

    private int redoNumber;//重生原因序号

    public RedoApplication(String applicationNumber, String severity, Timestamp applicationTime, String applicantAccount, String customerName, int redoNumber) {
        this.applicationNumber = applicationNumber;
        this.severity = severity;
        this.applicationTime = applicationTime;
        this.applicantAccount = applicantAccount;
        this.customerName = customerName;
        this.redoNumber = redoNumber;
    }

    public RedoApplication() {
    }
}
